package com.easystudy.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import lombok.Data;

@Data
@Configuration
@ConfigurationProperties(prefix="security.oauth2.client")
public class AuthConfig {
	private String clientId;			// 客户端模式需要的客户端id
	private String clientSecret;		// 客户端模式需要的客户端秘钥
	private String accessTokenUri;		// 客户端模式换取token的授权服务器地址
	
	public void setClientId(String clientId) {
		this.clientId = clientId;
	}
}
